package com.sc.study.student.domain;

import com.sc.study.foundation.domain.ScSubject;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sc.common.annotation.Excel;
import com.sc.common.core.domain.BaseEntity;

/**
 * 学员课程对象 sc_student_subject
 * 
 * @author sc
 * @date 2022-02-27
 */
public class ScStudentSubject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 科目编号 */
    @Excel(name = "科目编号")
    private Long subjectid;

    /** 学员编号 */
    @Excel(name = "学员编号")
    private Long studentid;

    /** 课时 */
    @Excel(name = "课时")
    private Long subjecttime;

    /** 已用课时 */
    @Excel(name = "已用课时")
    private Long subjectusetime;

    /** 科目 */
    @Excel(name = "已用课时")
    private ScSubject scSubject;

    /** 学生 */
    @Excel(name = "已用课时")
    private ScStudent scStudent;

    public ScSubject getScSubject() {
        return scSubject;
    }

    public void setScSubject(ScSubject scSubject) {
        this.scSubject = scSubject;
    }

    public ScStudent getScStudent() {
        return scStudent;
    }

    public void setScStudent(ScStudent scStudent) {
        this.scStudent = scStudent;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSubjectid(Long subjectid) 
    {
        this.subjectid = subjectid;
    }

    public Long getSubjectid() 
    {
        return subjectid;
    }
    public void setStudentid(Long studentid) 
    {
        this.studentid = studentid;
    }

    public Long getStudentid() 
    {
        return studentid;
    }
    public void setSubjecttime(Long subjecttime) 
    {
        this.subjecttime = subjecttime;
    }

    public Long getSubjecttime() 
    {
        return subjecttime;
    }
    public void setSubjectusetime(Long subjectusetime) 
    {
        this.subjectusetime = subjectusetime;
    }

    public Long getSubjectusetime() 
    {
        return subjectusetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("subjectid", getSubjectid())
            .append("studentid", getStudentid())
            .append("subjecttime", getSubjecttime())
            .append("subjectusetime", getSubjectusetime())
            .toString();
    }

    public ScStudentSubject() {
    }

    public ScStudentSubject(Long subjectid, Long studentid, Long subjecttime, Long subjectusetime) {
        this.subjectid = subjectid;
        this.studentid = studentid;
        this.subjecttime = subjecttime;
        this.subjectusetime = subjectusetime;
    }
}
